//
//  NewsViewController.h
//  ios_news
//
//  Created by Han on 14-6-9.
//  Copyright (c) 2014年 ucoder. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "NavScrollView.h"
#import "NewsTableView.h"
#import "EGORefreshTableHeaderView.h"
#import "LoadMoreView.h"
#import "MobClick.h"

@interface NewsViewController : UIViewController <UIScrollViewDelegate, UITableViewDataSource, UITableViewDelegate, NavScrollViewDelegate, EGORefreshTableHeaderDelegate>
{
    NavScrollView *mNavScrollView;
    UIScrollView *mNewsScrollView;
    
    
    NSMutableArray *mDataPage;
    NSNumber *mCurrentDataPage;
    
    NSMutableArray *mData;
    NSMutableArray *mCurrentData;
    NSInteger mCurrentPage;
    NewsTableView *mCurrentTableView;
    EGORefreshTableHeaderView *mCurrentRefreshHeaderView;
    LoadMoreView *mCurrentLoadMoreView;
    
    
    float mTableViewHeight;
    
    BOOL mReloading;
    
}

- (void) fristLoadData;

@end
